package com.gxa.setting.service.impl;

import com.gxa.common.base.RespResult;
import com.gxa.setting.vo.ServiceTypeVo;
import com.gxa.setting.mapper.SetServiceTypeMapper;
import com.gxa.setting.service.SetServiceTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SetServiceTypeServiceImpl implements SetServiceTypeService {
    @Autowired
    private SetServiceTypeMapper serviceTypeMapper;
    @Override
    public RespResult findServiceType() {
        List<ServiceTypeVo> list=serviceTypeMapper.findServiceType();
        return RespResult.success(list);
    }
}
